import { createRouter, createWebHistory } from 'vue-router'


export const routes = [{
    path: '/',
    name: 'json',
    component: () => import('../views/format/json/index.vue'),
    meta: {
        title: 'json格式化',
    }
},{
    path: '/',
    name: 'length',
    component: () => import('../views/statistics/length/index.vue'),
    meta: {
        title: '字符串长度',
    }
},{
    path: '/',
    name: 'qr',
    component: () => import('../views/code/qr/index.vue'),
    meta: {
        title: '二维码生产',
    }
},{
    path: '/',
    name: 'barcode',
    component: () => import('../views/format/json/index.vue'),
    meta: {
        title: '条形码生成',
    }
}]


const router = createRouter({
    history: createWebHistory(process.env.BASE_URL),
    routes
})

export default router